package com.fm.financemanage.constant;

/**
 * redis key
 *
 * @version V1.0
 * @author: zpc
 * @date:
 */
public enum RedisKeyEnum {

    //用户token
    lock("lock:", "锁", 2),
    user_tokens("user_tokens:", "用户登录存储", 604800),

    ;


    private String name;

    private String des;

    private long timeSeconds;


    RedisKeyEnum(String name, String des, long timeSeconds) {
        this.name = name;
        this.des = des;
        this.timeSeconds = timeSeconds;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public long getTimeSeconds() {
        return timeSeconds;
    }

    public void setTimeSeconds(long timeSeconds) {
        this.timeSeconds = timeSeconds;
    }


}
